<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ include file="inc/head.jsp" %>
<div class="main">
    <div class="leftmainindex">
        <DIV class=main1Left>
            <DIV class=main1LeftMain>
                <DIV class=newsImg>
                    <c:forEach var="imageNews" items="${top4ImageNews}" varStatus="status">
                    <DIV class=b-Img id="v${status.index}" style="display: block;" onMouseOver="changeHotnews(${status.index},'false')"
                         onMouseOut="pause(${status.index})">
                        <c:if test="${not empty imageNews.imageName}">
                        <IMG height=230  src="static/upload/news/${imageNews.id}/${imageNews.imageName}" width=331 tit="${imageNews.title}">
                        </c:if>
                        <c:if test="${empty imageNews.imageName}">
                        <IMG height=230  src="static/image/blank.png" width=331 tit="${imageNews.title}">
                        </c:if>
                    </DIV>
                    </c:forEach>
                    <DIV class=s-Img>
                        <UL>
<c:forEach var="imageNews" items="${top4ImageNews}" varStatus="status">
                            <LI class=Imgskin${status.index+1} id="img${status.index}" onMouseOver="changeHotnews(${status.index},'false')" onMouseOut="pause(${status.index})">
                                <A href="/news/${imageNews.id}">
                                    <c:if test="${not empty imageNews.imageName}">
                                        <IMG height=51 src="static/upload/news/${imageNews.id}/${imageNews.imageName}" width=81 tit="${imageNews.title}">
                                    </c:if>
                                </A>
                            </LI>
                            </c:forEach>
                        </UL>
                    </DIV>
                </DIV>
<c:forEach var="imageNews" items="${top4ImageNews}" varStatus="status">
                <DIV class=topNews id="s${status.index}" style="display: block;" onMouseOver="changeHotnews(${status.index},'false')"
                     onMouseOut="pause(0${status.index})">
                    <DIV class="topNews tit blueLink"><A style="FONT-SIZE: 14px"
                                                         href="/news/${imageNews.id}">${imageNews.title}</A>
                    </DIV>
                    <DIV class="topNews content">
                        <P>
                            ${fn:substring(imageNews.contentText, 0, 78)}...
                        </P></DIV>
                </DIV>
</c:forEach>
                <DIV class=ad1>
                    <DIV class="core redLink" id=ad1>
                        光伏协会秘书处服务热线：0571-87382352<BR>为促进杭州市太阳能光伏产业发展而竭诚服务<BR></DIV>
                </DIV>
                <SCRIPT>
                    function NextInfo(id, w, n) {
                        var box = document.getElementById(id),can = true,w = w || 1500,fq = fq || 10,n = n == -1 ? -1 : 1;
                        box.innerHTML += box.innerHTML;
                        box.onmouseover = function() {
                            can = false
                        };
                        box.onmouseout = function() {
                            can = true
                        };
                        var max = parseInt(box.scrollHeight / 2);
                        new function () {
                            var stop = box.scrollTop % 18 == 0 && !can;
                            if (!stop) {
                                var set = n > 0 ? [max,0] : [0,max];
                                box.scrollTop == set[0] ? box.scrollTop = set[1] : box.scrollTop += n;
                            }
                            ;
                            setTimeout(arguments.callee, box.scrollTop % 18 ? fq : w);
                        };
                    }
                    ;
                    NextInfo('ad1', 2500);
                    function linkTagert(obj) {
                        if (obj.value != "") {
                            var vals = obj.value.split(",")
                            if (vals[1] == "_blank") {
                                window.open(vals[0]);
                            } else {
                                window.location = vals[0];
                            }

                        }
                    }
                </SCRIPT>
            </DIV>
        </DIV>
    </div>
    <div class="rightmainindex">
        <div class="rkk">
            <ul>
                <li><a href="/notices/pages/1" class="k1"></a></li>
                <li><a href="/downloadcenter" class="k2"></a></li>
                <li><a href="/industryservices/1" class="k3"></a></li>
                <li><a href="/industryservices/2" class="k4"></a></li>
                <li><a href="/industryservices/3" class="k5"></a></li>
                <li><a href="/industryservices/4" class="k6"></a></li>
                <li><a href="/industryservices/5" class="k7"></a></li>
                <li><a href="/industryservices/6"  class="k8"></a></li>
                <li><a href="/aboutus/contact"  class="k9"></a></li>
            </ul>
        </div>
    </div>
</div>
<div class="clear"></div>
<div class="main">

<div class="blank14"></div>
<div class="leftindex">
<div class="blank3"></div>
<div class="indexyi">

<div class="yil">
    <div class="yitou">
        <div class="yitoutb">
            <a id="menu1" class="zuia" onMouseOver="changeMenu(1)">最新动态</a>
            <a id="menu2" class="zuib" onMouseOver="changeMenu(2)">信息简报</a>
        </div>
        <div class="yitoumore">
            <a id="more" href="/news/1/pages/1">更多</a>
        </div>
    </div>

    <div class="yid">
        <div class="yineia" id="menuct1">
            <h1 class="wenzbiao">
                <c:if test="${not empty topNews}">
                    <a href="/news/${topNews.id}">${topNews.title}</a>
                </c:if>
            </h1>
            <p>
                <c:if test="${not empty topNews}">
                    ${fn:substring(topNews.contentText, 0, 48)}
                </c:if>
            </p>
            <div class="clearline"></div>
            <ul>
                <c:forEach var="iNews" items="${top7NormalNews}" begin="1">
                    <li>
                        <span class="huang"><a href="news/${iNews.category}/pages/1">[${allNewsCategories[iNews.category]}]</a></span>
                        <a href="/news/${iNews.id}">${fn:substring(iNews.title, 0, 20)}</a>
                    </li>
                </c:forEach>
            </ul>
        </div>
        <div class="yineia" id="menuct2" style="display:none;">
            <div class="jianbaokuan">
                <a class="jianbaoimg" href="/unionnews/${unionNews.id}">
                    <c:if test="${not empty unionNews.imageName}">
                        <img width="75" height="100" src="/static/upload/unionNews/${unionNews.id}/${unionNews.imageName}"/>
                    </c:if>
                    <c:if test="${empty unionNews.imageName}">
                        <img width="75" height="100" src="/static/image/blank.png"/>
                    </c:if>
                </a>
                <span class="baobiao"><a href="/unionnews/${unionNews.id}">${unionNews.title}</a></span>

                <p>发布时间：${fn:substring(unionNews.publishDate, 5, 12)}</p>

                <p class="neiu">${fn:substring(unionNews.contentText, 0, 48)}... </p>

                <div class="blank9"></div>
                <div class="dibu">
                    <c:set var="contentEntityCount" value="0"/>
                    <c:forEach var="group" items="${unionNews.groupList}">
                        <c:if test="${contentEntityCount lt 4}">
                            <c:forEach var="iContentEntity" items="${group.contentEntityList}">
                                <c:set var="contentEntityCount" value="${contentEntityCount + 1}" />
                                <div>
                                    <h1>${fn:substring(iContentEntity.publishDate, 5, 12)}</h1>
                                    <c:if test="${(not empty iContentEntity.accessPermission) and (iContentEntity.accessPermission eq 1)}">
                                        <a href="javascript:checkReadMemberCode('/${iContentEntity.location}/${iContentEntity.id}')">${fn:substring(iContentEntity.title, 0, 15)}</a>
                                    </c:if>
                                    <c:if test="${iContentEntity.accessPermission ne 1}">
                                        <a href="/${iContentEntity.location}/${iContentEntity.id}">${fn:substring(iContentEntity.title, 0, 15)}</a>
                                    </c:if>
                                </div>
                            </c:forEach>
                        </c:if>
                    </c:forEach>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="yi2">
    <div class="yitoub">
        <a href="/enterprises/pages/1">更多</a>会员单位
    </div>
    <div class="yidb">
        <div class="yineib">
            <div class="neikuang">
                <div class="neizuobao">
                    <div class="neibiaozuo" id="bar1" style="display:none;">
                            <div class="zupian">
                                <c:forEach var="enterprise" items="${top3Type1RecommendEnterprise}" begin="0" end="1" varStatus="status">
                               <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                                </c:forEach>
                               <div class="clear"></div>
                             </div>
                            <div class="zupian">
                                <c:forEach var="enterprise" items="${top3Type1RecommendEnterprise}" begin="2" end="3" varStatus="status">
                               <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                                </c:forEach>
                               <div class="clear"></div>
                             </div>
                            <div class="zupian">
                                <c:forEach var="enterprise" items="${top3Type1RecommendEnterprise}" begin="4" end="5" varStatus="status">
                               <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                                </c:forEach>
                               <div class="clear"></div>
                             </div>
                    </div>
                    <div class="neibiaozuo" id="bar2">
                        <div class="zupian">
                            <c:forEach var="enterprise" items="${top3Type2RecommendEnterprise}" begin="0" end="1" varStatus="status">
                           <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                            </c:forEach>
                           <div class="clear"></div>
                         </div>
                        <div class="zupian">
                            <c:forEach var="enterprise" items="${top3Type2RecommendEnterprise}" begin="2" end="3" varStatus="status">
                           <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                            </c:forEach>
                           <div class="clear"></div>
                         </div>
                        <div class="zupian">
                            <c:forEach var="enterprise" items="${top3Type2RecommendEnterprise}" begin="4" end="5" varStatus="status">
                           <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                            </c:forEach>
                           <div class="clear"></div>
                         </div>
                    </div>
                    <div class="neibiaozuo" id="bar3" style="display:none;">
                        <div class="zupian">
                            <c:forEach var="enterprise" items="${top3Type3RecommendEnterprise}" begin="0" end="1" varStatus="status">
                           <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                            </c:forEach>
                           <div class="clear"></div>
                         </div>
                        <div class="zupian">
                            <c:forEach var="enterprise" items="${top3Type3RecommendEnterprise}" begin="2" end="3" varStatus="status">
                           <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                            </c:forEach>
                           <div class="clear"></div>
                         </div>
                        <div class="zupian">
                            <c:forEach var="enterprise" items="${top3Type3RecommendEnterprise}" begin="4" end="5" varStatus="status">
                           <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                            </c:forEach>
                           <div class="clear"></div>
                         </div>
                    </div>
                    <div class="neibiaozuo" id="bar4" style="display:none;">
                        <div class="zupian">
                            <c:forEach var="enterprise" items="${top3Type4RecommendEnterprise}" begin="0" end="1" varStatus="status">
                           <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                            </c:forEach>
                           <div class="clear"></div>
                         </div>
                        <div class="zupian">
                            <c:forEach var="enterprise" items="${top3Type4RecommendEnterprise}" begin="2" end="3" varStatus="status">
                           <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                            </c:forEach>
                           <div class="clear"></div>
                         </div>
                        <div class="zupian">
                            <c:forEach var="enterprise" items="${top3Type4RecommendEnterprise}" begin="4" end="5" varStatus="status">
                           <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                            </c:forEach>
                           <div class="clear"></div>
                         </div>
                    </div>
                    <div class="neibiaozuo" id="bar5" style="display:none;">
                        <div class="zupian">
                            <c:forEach var="enterprise" items="${top3Type5RecommendEnterprise}" begin="0" end="1" varStatus="status">
                           <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                            </c:forEach>
                           <div class="clear"></div>
                         </div>
                        <div class="zupian">
                            <c:forEach var="enterprise" items="${top3Type5RecommendEnterprise}" begin="2" end="3" varStatus="status">
                           <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                            </c:forEach>
                           <div class="clear"></div>
                         </div>
                        <div class="zupian">
                            <c:forEach var="enterprise" items="${top3Type5RecommendEnterprise}" begin="4" end="5" varStatus="status">
                           <a href="/enterprises/${enterprise.id}" class="imgh"><img width="100" height="55" src="static/upload/enterprise/${enterprise.id}/logo.jpg"/></a>
                            </c:forEach>
                           <div class="clear"></div>
                         </div>

                    </div>
                </div>
                <div class="youneibao">
                    <div class="youbiaozuo" id="sort_father">
                        <a id="sort1" onMouseOver="changeBar(1)">硅料与硅片</a>
                        <a id="sort2" onMouseOver="changeBar(2)"  class="zhong">晶硅电池</a>
                        <a id="sort3" onMouseOver="changeBar(3)">薄膜电池</a>
                        <a id="sort4" onMouseOver="changeBar(4)">辅料与设备</a>
                        <a id="sort5" onMouseOver="changeBar(5)">系统集成</a>
                    </div>

                </div>
            </div>
        </div>
    </div>

</div>

</div>
<div class="blank14"></div>
<div class="indexer">
    <div class="eryi">
        <div class="yitoub">
            <a href="/industrypolicies/pages/1">更多</a>产业政策
        </div>
        <div class="yid">
            <div class="yineia">
                <h1 class="wenzbiao">
                    <c:if test="${not empty topPolicyInfo}">
                        <c:if test="${(not empty topPolicyInfo.accessPermission) and (topPolicyInfo.accessPermission eq 1)}">
                        <a  href="javascript:checkReadMemberCode('/industryservices/informations/${topPolicyInfo.id}')">${fn:substring(topPolicyInfo.title, 0, 20)}</a>
                        </c:if>
                        <c:if test="${topPolicyInfo.accessPermission ne 1}">
                        <a  href="/industryservices/informations/${topPolicyInfo.id}">${fn:substring(topPolicyInfo.title, 0, 20)}</a>
                        </c:if>
                    </c:if>
                </h1>

                <p>
                    <c:if test="${not empty topPolicyInfo}">
                        ${fn:substring(topPolicyInfo.contentText, 0, 48)}...
                    </c:if>
                </p>

                <div class="clearline"></div>
                <div class="dibub">
                <c:if test="${fn:length(top7PolicyInfo) > 1}">
                    <c:forEach var="industryPolicy" items="${top7PolicyInfo}" begin="1">
                        <div ><h1>${fn:substring(industryPolicy.publishDate, 5, 12)}</h1>
                            <c:if test="${(not empty industryPolicy.accessPermission) and (industryPolicy.accessPermission eq 1)}">
                            <a  href="javascript:checkReadMemberCode('/industryservices/informations/${industryPolicy.id}')">${fn:substring(industryPolicy.title, 0, 20)}</a>
                            </c:if>
                            <c:if test="${industryPolicy.accessPermission ne 1}">
                            <a  href="/industryservices/informations/${industryPolicy.id}">${fn:substring(industryPolicy.title, 0, 20)}</a>
                            </c:if>
                        </div>
                    </c:forEach>
                </c:if>
                </div>
            </div>
        </div>
    </div>
    <div class="eryib">
        <div class="yitoub">
            <a href="/prealerts/pages/1">更多</a>产业预警
        </div>
        <div class="yid">
            <div class="yineia">
                <h1 class="wenzbiao">
                    <c:if test="${not empty topPrealert}">
                        <a href="/prealerts/${topPrealert.id}">${fn:substring(topPrealert.title,0,20)}</a>
                    </c:if>
                </h1>

                <p>
                    <c:if test="${not empty topPrealert}">
                        ${fn:substring(topPrealert.contentText, 0, 48)}...
                    </c:if>
                </p>

                <div class="clearline"></div>
                <div class="dibub">
                    <c:if test="${fn:length(top7Prealert) > 1}">
                    <c:forEach var="prealert" items="${top7Prealert}" begin="1">
                        <div ><h1>${fn:substring(prealert.publishDate, 5, 12)}</h1><a href="/prealerts/${prealert.id}">${fn:substring(prealert.title,0,18)}</a></div>
                    </c:forEach>
                        </c:if>
                </div>
            </div>
        </div>
    </div>

</div>

<div class="blank14"></div>

<div class="yesan">
    <DIV class="mod-left bottom-Article-QQ sildPic-Article-QQ">
        <DIV class=hd>
            <H2>产业应用</H2>

            <DIV class=sildPicBar id=sildPicBar><SPAN class=pre></SPAN>
                <UL id=dot>
                </UL>
                <SPAN class=next></SPAN></DIV>
        </DIV>
        <DIV class=bd>
            <DIV class=cnt-wrap id=cnt-wrap>
                <DIV class=cnt id=cnt>
                    <UL>
                        <c:forEach var="iApplication" items="${top12Application}">
                            <LI>
                                <A href="/applications/${iApplication.id}" target=_blank>
                                    <c:if test="${not empty iApplication.imageName}">
                                        <IMG width="212" height="80" src="static/upload/application/${iApplication.id}/${iApplication.imageName}">
                                    </c:if>
                                    <c:if test="${empty iApplication.imageName}">
                                        <IMG width="212" height="80" src="static/image/blank.png">
                                    </c:if>
                                </A>
                                <A class=link href="/applications/${iApplication.id}" target=_blank>${fn:substring(iApplication.title,0,10)}</A>
                            </LI>
                        </c:forEach>
                    </UL>
                </DIV>
            </DIV>
        </DIV>
    </DIV>
</div>
<div class="blank14"></div>

<div class="indexsi">
    <div class="siyi">
        <div class="yitoub">
            <a href="/industryrequirements/pages/1">更多</a>产业需求
        </div>
        <div class="neirbao">
            <c:forEach var="requirementInfo" items="${top6RequirementInfo}">
                <div><h1>${fn:substring(requirementInfo.publishDate, 5, 12)}</h1>
                    <c:if test="${(not empty requirementInfo.accessPermission) and (requirementInfo.accessPermission eq 1)}">
                    <a  href="javascript:checkReadMemberCode('/industryservices/informations/${requirementInfo.id}')">${fn:substring(requirementInfo.title, 0, 20)}</a>
                    </c:if>
                    <c:if test="${requirementInfo.accessPermission ne 1}">
                    <a  href="/industryservices/informations/${requirementInfo.id}">${fn:substring(requirementInfo.title, 0, 20)}</a>
                    </c:if>
                </div>
            </c:forEach>
        </div>
    </div>

    <div class="siyib">
        <div class="yitoub">
            <a href="/industryinfos/1/pages/1">更多</a>产业信息
        </div>
        <div class="neirbao">
            <c:forEach var="iIndustryInfo" items="${top6IndustryInfo}">
                <div><h1>${fn:substring(iIndustryInfo.publishDate, 5, 12)}</h1>
                    <c:if test="${(not empty iIndustryInfo.accessPermission) and (iIndustryInfo.accessPermission eq 1)}">
                    <a  href="javascript:checkReadMemberCode('/industryinfos/${iIndustryInfo.id}')">${fn:substring(iIndustryInfo.title, 0, 20)}</a>
                    </c:if>
                    <c:if test="${iIndustryInfo.accessPermission ne 1}">
                    <a  href="/industryinfos/${iIndustryInfo.id}">${fn:substring(iIndustryInfo.title, 0, 20)}</a>
                    </c:if>
                </div>
            </c:forEach>
        </div>
    </div>
</div>

</div>

<div class="rightmain">

    <%@include file="inc/right.jsp" %>
</div>

</div>
<%@include file="inc/footer.jsp" %>
